/* =========================
   GALLERY PAGE STYLES
========================= */

/* Hero */
.gallery-hero {
  min-height: 95vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("gallery-hero.jpg") center / cover no-repeat;
}

.gallery-hero h1 {
  letter-spacing: -0.5px;
}

/* Gallery grid images */
#gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#gallery a {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
}

#gallery a:hover img {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

/* Modal image */
#galleryModal img {
  max-height: 80vh;
  object-fit: contain;
}


/* =========================
   GALLERY – MOBILE FIXES
========================= */

@media (max-width: 991px) {

  .gallery-hero h1 {
    font-size: 2rem;
  }

  .gallery-hero p {
    font-size: 1rem;
  }

  .gallery-hero .btn {
    width: 100%;
  }

  #gallery img {
    aspect-ratio: 1 / 1; /* square images on tablets */
  }
}

@media (max-width: 576px) {

  .gallery-hero {
    min-height: 90vh;
  }

  #gallery img {
    aspect-ratio: 3 / 2;
  }

  h2 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }
}
